package qt.domain;

/**
 * Created by yanlin on 2017/10/21.
 */
public class TreeChild {
    private String id;
    private String text;
    private boolean leaf = true;

    public String getId() {
        return id;

    }
    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }

    @Override
    public String toString() {
        return "TreeChild{" +
                "id='" + id + '\'' +
                ", text='" + text + '\'' +
                ", leaf=" + leaf +
                '}';
    }
}
